package com.zzw.spring.aop.vo;

/**
 * @author zzw
 * @see
 * @since 2018/3/1
 */
public class WaiterDelegate {

    private Waiter waiter;
    public void service(String clientName){
        waiter.greetTo(clientName);
        waiter.serveTo(clientName);
    }

    public Waiter getWaiter() {
        return waiter;
    }

    public void setWaiter(Waiter waiter) {
        this.waiter = waiter;
    }
}
